package com.dream.tihai.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author Valley
 * Created by Valley on 2022/12/14
 */

@Data
@TableName("type")
public class TypeEntity {

    @TableId("id")
    private long id;

    @TableField("pid")
    private long pid;

    @TableField("name")
    private String name;

    @TableLogic("flag")
    private int flag;

}
